<%@ page  import="com.erp.app.common.ProjectConstants" %>

<%
		if (session == null){
%>
<form name="logoutForm">
</form>
<script language="javascript">
	document.logoutForm.action = "logout.do";
	document.logoutForm.submit();
</script>
<%
		}

		if (session.getAttribute(ProjectConstants.SESSION_USER) == null){
%>
<form name="logoutForm">
</form>
<script language="javascript">
	document.logoutForm.action = "logout.do";
	document.logoutForm.submit();
</script>
<%
		}
%>